using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace NeosSDI.Core.Attributes
{
    /// <summary>
    /// Description an action
    /// </summary>
    [AttributeUsage(AttributeTargets.Method)]
    public class UseCase : System.Attribute
    {
        /// <summary>
        /// UseCase name
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// UseCase Description
        /// </summary>
        public string Details { get; set; }

        /// <summary>
        /// Constructor with parameters
        /// </summary>
        /// <param name="_name">UseCase name</param>
        /// <param name="_details">UseCase description</param>
        public UseCase(string _name, string _details = "")
        {
            this.Name = _name;
            this.Details = _details;
        }

    }
}
